From: Florian Müllner Date: Sat, 25 Apr 2026 01:18:39 +0000 (+0200) Subject: extensions-tool: Use consistent include order X-Git-Tag: archive/raspbian/50.5-1+rpi1^2~9^2^2~28 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=faa0a8f00749a2ef2ef315a0b366fdedaef5ce21;p=gnome-shell.git extensions-tool: Use consistent include order Spotted by gobject-linter: include_order Part-of: (cherry picked from commit 653be4a9d308f99fc9ceb6a07ef020432678132e) --- diff --git a/subprojects/extensions-tool/src/command-create.c b/subprojects/extensions-tool/src/command-create.c index 1f65b265d..bea190834 100644 --- a/subprojects/extensions-tool/src/command-create.c +++ b/subprojects/extensions-tool/src/command-create.c @@ -19,16 +19,17 @@ */ #define _GNU_SOURCE /* for strcasestr */ +#include "config.h" + #include -#include -#include #include +#include #include +#include #include "commands.h" #include "common.h" -#include "config.h" #define TEMPLATES_PATH "/org/gnome/extensions-tool/templates" #define TEMPLATE_KEY "Path" diff --git a/subprojects/extensions-tool/src/command-disable.c b/subprojects/extensions-tool/src/command-disable.c index bae11b256..73bb9738d 100644 --- a/subprojects/extensions-tool/src/command-disable.c +++ b/subprojects/extensions-tool/src/command-disable.c @@ -18,12 +18,13 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ -#include +#include "config.h" + #include +#include #include "commands.h" #include "common.h" -#include "config.h" static gboolean disable_extension_gsettings (const char *uuid) diff --git a/subprojects/extensions-tool/src/command-enable.c b/subprojects/extensions-tool/src/command-enable.c index 712de4a3d..ddc56b987 100644 --- a/subprojects/extensions-tool/src/command-enable.c +++ b/subprojects/extensions-tool/src/command-enable.c @@ -18,12 +18,13 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ -#include +#include "config.h" + #include +#include #include "commands.h" #include "common.h" -#include "config.h" static gboolean enable_extension_gsettings (const char *uuid) diff --git a/subprojects/extensions-tool/src/command-info.c b/subprojects/extensions-tool/src/command-info.c index 61492a5d3..68e581e25 100644 --- a/subprojects/extensions-tool/src/command-info.c +++ b/subprojects/extensions-tool/src/command-info.c @@ -18,12 +18,13 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ -#include +#include "config.h" + #include +#include #include "commands.h" #include "common.h" -#include "config.h" static gboolean show_extension_info (const char *uuid) diff --git a/subprojects/extensions-tool/src/command-install.c b/subprojects/extensions-tool/src/command-install.c index 24d09febb..38932e785 100644 --- a/subprojects/extensions-tool/src/command-install.c +++ b/subprojects/extensions-tool/src/command-install.c @@ -18,15 +18,15 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ -#include -#include +#include "config.h" +#include +#include #include #include #include "commands.h" #include "common.h" -#include "config.h" static JsonObject * load_metadata (GFile *dir, diff --git a/subprojects/extensions-tool/src/command-list.c b/subprojects/extensions-tool/src/command-list.c index db6e81aed..325af3a25 100644 --- a/subprojects/extensions-tool/src/command-list.c +++ b/subprojects/extensions-tool/src/command-list.c @@ -18,12 +18,13 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ -#include +#include "config.h" + #include +#include #include "commands.h" #include "common.h" -#include "config.h" typedef enum { diff --git a/subprojects/extensions-tool/src/command-pack.c b/subprojects/extensions-tool/src/command-pack.c index 9575c21ea..9ed19ec9b 100644 --- a/subprojects/extensions-tool/src/command-pack.c +++ b/subprojects/extensions-tool/src/command-pack.c @@ -18,15 +18,15 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ -#include -#include +#include "config.h" +#include +#include #include #include #include "commands.h" #include "common.h" -#include "config.h" typedef struct _ExtensionPack { GHashTable *files; diff --git a/subprojects/extensions-tool/src/command-prefs.c b/subprojects/extensions-tool/src/command-prefs.c index 01c385e06..b64f6fff4 100644 --- a/subprojects/extensions-tool/src/command-prefs.c +++ b/subprojects/extensions-tool/src/command-prefs.c @@ -18,12 +18,13 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ -#include +#include "config.h" + #include +#include #include "commands.h" #include "common.h" -#include "config.h" static gboolean launch_extension_prefs (const char *uuid) diff --git a/subprojects/extensions-tool/src/command-reset.c b/subprojects/extensions-tool/src/command-reset.c index 2615f1595..13519d85a 100644 --- a/subprojects/extensions-tool/src/command-reset.c +++ b/subprojects/extensions-tool/src/command-reset.c @@ -19,12 +19,13 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ -#include +#include "config.h" + #include +#include #include "commands.h" #include "common.h" -#include "config.h" static gboolean reset_extension (const char *uuid) diff --git a/subprojects/extensions-tool/src/command-uninstall.c b/subprojects/extensions-tool/src/command-uninstall.c index 344b720b8..9c4b232ee 100644 --- a/subprojects/extensions-tool/src/command-uninstall.c +++ b/subprojects/extensions-tool/src/command-uninstall.c @@ -18,12 +18,13 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ -#include +#include "config.h" + #include +#include #include "commands.h" #include "common.h" -#include "config.h" static gboolean uninstall_extension (const char *uuid) diff --git a/subprojects/extensions-tool/src/command-upload.c b/subprojects/extensions-tool/src/command-upload.c index 5405da20c..2ead25f16 100644 --- a/subprojects/extensions-tool/src/command-upload.c +++ b/subprojects/extensions-tool/src/command-upload.c @@ -16,18 +16,18 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ +#include "config.h" + #include -#include #include #include - -#include +#include #include +#include #include "commands.h" #include "common.h" -#include "config.h" #define EGO_URL_BASE "https://extensions.gnome.org/api/v1" diff --git a/subprojects/extensions-tool/src/main.c b/subprojects/extensions-tool/src/main.c index 4e4473afe..251d8db92 100644 --- a/subprojects/extensions-tool/src/main.c +++ b/subprojects/extensions-tool/src/main.c @@ -18,11 +18,13 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ +#include "config.h" + +#include + #include #include -#include -#include "config.h" #include "commands.h" #include "common.h"